html,
body,
#app,
.trio-page {
  height: 100%;
  width: 100%;
}
body {
  min-width: 1200px;
  overflow-x: auto;
}
.trio-page {
  overflow: hidden;
}
.header-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  height: $menu-height;
  background: $header-background;
}
.mixin-layout {
  height: 100%;
  width: 100%;
  display: flex;
  padding-top: $menu-height;
  &.full-scren {
    padding-top: 0;
    .header-wrap,
    .sidebar-box,
    .tag-box {
      display: none;
    }
    .trio-view {
      padding: 16px;
      height: 100%;
    }
  }
}

.sidebar-box {
  padding-top: 8px;
  width: 200px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  .el-scrollbar {
    flex: 1;
    .el-scrollbar__wrap {
      overflow-x: hidden;
    }
    .el-menu {
      border-right: none;
    }
  }
  .sidebar-footer {
    padding: 20px;
    &.is-collapse {
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  .collapse-btn {
    background: url("~@/assets/icons/expand.png") no-repeat;
    background-size: cover;
  }
  &.is-collapse {
    width: 60px;
    .el-submenu__title span {
      display: none;
    }
    .collapse-btn {
      transform: rotate(180deg);
    }
  }
}
.trio-layout {
  flex: 1;
  min-width: 0;
  background-color: $page-background;
}
